﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" ValidateRequest="False" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="SM1" EnablePartialRendering="true" runat="server"  />
    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                Method:
                <asp:DropDownList ID="DropDownList1" AutoPostBack="true" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem Value="Select Method">--Select Method--</asp:ListItem>
                    <asp:ListItem Value="0">Get User Profile</asp:ListItem>
                    <asp:ListItem Value="1">Get Basic User Profile</asp:ListItem>
                    <asp:ListItem Value="2">Get Friends</asp:ListItem>
                    <asp:ListItem Value="3">Verify Friendship</asp:ListItem>
                    <asp:ListItem Value="4">Get Albums</asp:ListItem>
                    <asp:ListItem Value="5">Get Album By Id</asp:ListItem>
                    <asp:ListItem Value="6">Get Album Photos By Id</asp:ListItem>
                    <asp:ListItem Value="7">Get User Photos</asp:ListItem>
                    <asp:ListItem Value="8">Get Photo By Id</asp:ListItem>
                    <asp:ListItem Value="9">Get User Interests</asp:ListItem>
                    <asp:ListItem Value="10">Get User Details</asp:ListItem>
                    <asp:ListItem Value="11">Get User Videos</asp:ListItem>
                    <asp:ListItem Value="12">Get Video By Id</asp:ListItem>
                    <asp:ListItem Value="13">Get User Status</asp:ListItem>
                    <asp:ListItem Value="14">Get User Mood</asp:ListItem>
                </asp:DropDownList>
                <asp:Panel ID="FriendIdPanel" Visible="false" runat="server">
                    Friend ID:
                    <asp:TextBox ID="FriendId" runat="server"></asp:TextBox>
                </asp:Panel>
                <asp:Panel ID="AlbumIdPanel" Visible="false" runat="server">
                    Album ID:
                    <asp:TextBox ID="AlbumId" runat="server"></asp:TextBox>
                </asp:Panel>
                <asp:Panel ID="PhotoIdPanel" Visible="false" runat="server">
                    Photo ID:
                    <asp:TextBox ID="PhotoId" runat="server"></asp:TextBox>
                </asp:Panel>
                <asp:Panel ID="VideoIdPanel" Visible="false" runat="server">
                    Video ID:
                    <asp:TextBox ID="VideoId" runat="server"></asp:TextBox>
                </asp:Panel>
                &nbsp;<br />
                <br />
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Test API" />
                <br />
                <br />
                Response<br />
                <asp:TextBox ID="TextBox1" runat="server" Height="385px" TextMode="MultiLine" Width="632px"></asp:TextBox>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
